package top.wshape1.shiziapi.project.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName t_project_doc_version
 */
@TableName(value ="t_project_doc_version")
@Data
public class DocVersion implements Serializable {
    /**
     * primary key
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * project id
     */
    private Long projectId;

    /**
     * editor user id
     */
    private Long editorId;

    /**
     * doc id
     */
    private Long docId;


    /**
     * file name
     */
    private String docName;

    /**
     * version
     */
    private String version;

    /**
     * doc type: 0 api | 1 md | 2 rtf
     */
    private Integer docType;

    /**
     * content
     */
    private String content;

    /**
     * saving time
     */
    private Date saveTime;

    /**
     * update time
     */
    private Date updateTime;

    /**
     * remark
     */
    private String remark;

    /**
     * if deleted
     */
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}